package com.passive.lock.mapper;

import com.passive.lock.model.po.TRole;
import com.passive.lock.model.po.TRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TRoleMapper {
    /**
     *
     * @mbggenerated 2017-08-12
     */
    int countByExample(TRoleExample example);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int deleteByExample(TRoleExample example);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int insert(TRole record);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int insertSelective(TRole record);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    List<TRole> selectByExample(TRoleExample example);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    TRole selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int updateByExampleSelective(@Param("record") TRole record, @Param("example") TRoleExample example);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int updateByExample(@Param("record") TRole record, @Param("example") TRoleExample example);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int updateByPrimaryKeySelective(TRole record);

    /**
     *
     * @mbggenerated 2017-08-12
     */
    int updateByPrimaryKey(TRole record);
}